package ru.ifmo.cppsc.translator;

import ru.ifmo.cppsc.syntactic.TreeNode;
import ru.ifmo.cppsc.translator.generated.CodeContainer;

/**
 * Created by IntelliJ IDEA.
 * User: orybak
 * Date: 30.06.2008
 * Time: 0:20:45
 * To change this template use File | Settings | File Templates.
 */
public class Translator {
    public void translate (TreeNode node) {
        CodeContainer.executeCode(node);
        String type = node.getType();
        System.out.println("Resulting type: " + type);
    }
}
